﻿//démarrer l'appli

var panelDocument = null;
var panelData = null;

var pnlDocTemplates = null;

function init() {
    refreshDocTemplates();
    setTimeout("refreshDataTemplates()", 1500);

    //partie graphique
    initPanels()
}


//panel de la partie document
function initPanels() {
    panelDocument = new YAHOO.widget.Panel("documentEditor", { width: "450px", visible: true, draggable: false, close: false, x: 320 });
    panelDocument.render();

    panelData = new YAHOO.widget.Panel("panelData", { width: "300px", visible: true, draggable: false, close: false, x: 0 });
    panelData.render();
}


YAHOO.util.Event.addListener(window, "load", init);